package net.zjitc.mapper;


import net.zjitc.po.User;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by Administrator on 2017/12/20.
 */
public interface UserMapper {
    /**
     * 方法名：与xml中的sql语句的id一致
     * 参数：与parameterType一致
     * 返回值:resultType一致
     * @param
     * @return
     */
    @Select("select * from user ")
    public User findUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
